Skip to content

Conversation

@vicb
Copy link
Contributor

@vicb vicb commented Nov 12, 2024

Summary

Remove the last workers code snippets using the Service Worker syntax - work started in #17905

@irvinebroque We still have a few snippets using both syntaxes (see the tabs on top):

image

I'm in favor or dropping the Service Worker syntax from there too:

  • to be consistent in only using the Module syntax
  • to not have to maintain that doc/code
  • to stop promoting that deprecated format

Thoughts?

/cc @ToriLindsay

Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7 files reviewed, 5 total issue(s) found.

@cloudflare-workers-and-pages
Copy link

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef30a33
Status: ✅  Deploy successful!
Preview URL: https://70889885.cloudflare-docs-7ou.pages.dev
Branch Preview URL: https://svc2mod.cloudflare-docs-7ou.pages.dev

View logs

@github-actions github-actions bot added product:pages product:ssl Related to SSL product:stream Related to Stream product product:waiting-room Related to Waiting Room product product:workers Related to Workers product size/l labels Nov 12, 2024
@vicb
Copy link
Contributor Author

vicb commented Nov 13, 2024

@ToriLindsay could you please help get this PR in?

semgrep errors are false positive and might be fixable in the UI but I don't have access.

Thanks

@ToriLindsay
Copy link
Contributor

ToriLindsay commented Nov 14, 2024

@dcpena @angelampcosta @RebeccaTamachiro Can you approve or confirm that this can be merged since it affects your docs too?

@ToriLindsay
Copy link
Contributor

ToriLindsay commented Nov 14, 2024

@ToriLindsay could you please help get this PR in?

semgrep errors are false positive and might be fixable in the UI but I don't have access.

Thanks

Update: I'm working on getting access and also asking someone on my team for help

Update: I can merge as soon as the other PCX writers whose docs are affected confirm. I've also reached out to them via chat.

@vicb
Copy link
Contributor Author

vicb commented Nov 14, 2024

Thanks all for the reviews!

@vicb vicb merged commit 4eaf02e into production Nov 14, 2024
13 of 14 checks passed
@vicb vicb deleted the svc2mod branch November 14, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product:automatic-platform-optimization product:images Related to Image Resizing product product:pages product:ssl Related to SSL product:stream Related to Stream product product:waiting-room Related to Waiting Room product product:workers Related to Workers product size/l

Projects

None yet

Development

Successfully merging this pull request may close these issues.